import React from 'react'
import img from '../assets/loading.gif'
export default (props) => {
    let {load}=props
    return (
        <div className="loading">
            {
                load&&<img src={img} alt="加载中" />
            }
        </div>
    )
}